package rwlivbk.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import rwlivbk.model.Dish;

import java.util.ArrayList;
import rwlivbk.model.DishFeedback;

@Mapper
@Repository
public interface DishMapper {

    ArrayList<Dish> findAllDishes();

    ArrayList<Dish> findAllTodayDishes();
    ArrayList<Dish> findAllDishesEvenDeleted();

    ArrayList<Dish> findAllDeletedDishes();


    void insertDish(Dish dish);

    void updateDish(Dish dish);

    void deleteDish(@Param("dish_id") Integer dish_id);


}